<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>测试fromEvent</title>
</head>
<body>
<script src="../node_modules/jquery/dist/jquery.js"></script>
<script src="../node_modules/rx/dist/rx.all.js"></script>
<script>
	var array = [10, 20, 30];
	var result$ = Rx.Observable.from(array);
	result$.subscribe(x => console.log(x));
</script>
</body>
</html>